﻿using Mt.Site.Application.Dto.Add;
using Mt.Site.Core.Storage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mt.Site.Application.ContentManagement.FrontEnd.Dto
{
    public class _ContentDto
    {
        #region 基础数据
        /// <summary>
        /// 数据id
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 数据辅助ID
        /// </summary>
        public long AuxiliaryId { get; set; }

        /// <summary>
        /// 数据TenantId
        /// </summary>
        public int TenantId { get; set; }

        /// <summary>
        /// 数据所属栏目的辅助ID
        /// </summary>
        public long MenuId { get; set; }

        /// <summary>
        /// 数据所属栏目
        /// </summary>
        public string KindName { get; set; }

        /// <summary>
        /// 数据RelateId
        /// </summary>
        public Guid? RelateId { get; set; }
        
        /// <summary>
        /// 列表页链接
        /// </summary>
        public string ListUrl { get; set; }

        /// <summary>
        /// 详细页链接
        /// </summary>
        public string LinkUrl { get; set; }
        #endregion

        #region 内容数据
        /// <summary>
        /// 发布时间
        /// </summary>
        public long PublishTime { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 详细内容
        /// </summary>
        public string Body { get; set; }

        
        /// <summary>
        /// 点击量
        /// </summary>
        public int Hit { get; set; }   

        /// <summary>
        /// 排序号
        /// </summary>
        public int Order { get; set; }
        
        /// <summary>
        ///首页推荐
        /// </summary>
        public bool IsHomeRecommend { get; set; }
        #endregion
        
        #region 扩展数据
        /// <summary>
        /// 详细内容备用字段
        /// </summary>
        public string Body2 { get; set; }

        /// <summary>
        /// 详细内容备用字段
        /// </summary>
        public string Body3 { get; set; }

        /// <summary>
        /// 详细内容备用字段
        /// </summary>
        public string Body4 { get; set; }

        /// <summary>
        /// 详细内容备用字段
        /// </summary>

        public string Body5 { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Str1 { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Str2 { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Str3 { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Str4 { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Str5 { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Str6 { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Str7 { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Str8 { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Str9 { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Str10 { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Str11 { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Str12 { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Str13 { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Str14 { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Str15 { get; set; }

        /// <summary>
        /// 时间1
        /// </summary>
        public long Time1 { get; set; }

        /// <summary>
        /// 时间2
        /// </summary>
        public long Time2 { get; set; }
                          
        public int Int1 { get; set; }
        public int Int2 { get; set; }
        public int Int3 { get; set; }
        public int Int4 { get; set; }
        public int Int5 { get; set; }
        
        public decimal Double1 { get; set; }
        public decimal Double2 { get; set; }
        public decimal Double3 { get; set; }
        public decimal Double4 { get; set; }
        
        public bool Bool1 { get; set; }
        public bool Bool2 { get; set; }
        public bool Bool3 { get; set; }
        public bool Bool4 { get; set; }
        #endregion

        #region 文件数据
        /// <summary>
        /// 单图文件字典
        /// </summary>
        public Dictionary<string, FileObjectDto> DicPic { get; set; }

        /// <summary>
        /// 多图文件字典
        /// </summary>
        public Dictionary<string, List<FileObjectDto>> DicPicList { get; set; }

        /// <summary>
        /// 单文件字典
        /// </summary>
        public Dictionary<string, FileObjectDto> DicFile { get; set; }

        /// <summary>
        /// 多文件字典
        /// </summary>
        public Dictionary<string, List<FileObjectDto>> DicFileList { get; set; }
        #endregion

        #region 上下页数据
        public _PreAndNextDto PreAndNext { get; set; }
        #endregion
    }
}
